package org.openmore.opc.dto.api;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.openmore.opc.entity.enums.TenantStatus;


@ApiModel("Tenant显示模型")
public class TenantDto {
    @ApiModelProperty(value = "")
    public String id;
    @ApiModelProperty(value = "创建者ID")
    private String userId;
    @ApiModelProperty(value = "名称")
    public String name;
    @ApiModelProperty(value = "备注")
    public String remark;
    @ApiModelProperty(value = "应用状态")
    public TenantStatus status;
    @ApiModelProperty(value = "")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date createdTime;
    @ApiModelProperty(value = "")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date updatedTime;
    @ApiModelProperty(value = "删除状态")
    public boolean deleted;
    @ApiModelProperty(value = "乐观锁")
    public int version;
    @ApiModelProperty(value = "操作人员")
    public String operator;

    public void setId(String id){
        this.id = id;
    }

    public String getId(){
        return this.id;
    }
    public void setName(String name){
        this.name = name;
    }

    public String getName(){
        return this.name;
    }
    public void setRemark(String remark){
        this.remark = remark;
    }

    public String getRemark(){
        return this.remark;
    }
    public void setCreatedTime(Date createdTime){
        this.createdTime = createdTime;
    }

    public Date getCreatedTime(){
        return this.createdTime;
    }
    public void setUpdatedTime(Date updatedTime){
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime(){
        return this.updatedTime;
    }
    public void setDeleted(boolean deleted){
        this.deleted = deleted;
    }

    public boolean getDeleted(){
        return this.deleted;
    }
    public void setVersion(int version){
        this.version = version;
    }

    public int getVersion(){
        return this.version;
    }
    public void setOperator(String operator){
        this.operator = operator;
    }

    public String getOperator(){
        return this.operator;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public TenantStatus getStatus() {
        return status;
    }

    public void setStatus(TenantStatus status) {
        this.status = status;
    }
}